package com.example.mvvm.ui

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.example.mvvm.R

class CategoryFragment :Fragment(){
    override fun onCreateView(
        inflater: LayoutInflater,
        container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View? {
//        Log.e("wodea","CategoryFragment创建了几次")
//        val inflate = DataBindingUtil.inflate<FragmentRecommendBinding>(
//            inflater,
//            R.layout.fragment_recommend,
//            container,
//            false
//        )
//
//        var messagesView: EpoxyRecyclerView =inflate.root.findViewById(R.id.messagesView)
//        val controller = HomeController()
//        messagesView.setController(controller)
//        controller.allMessages = Data.messages
//        controller.recentlyActive = Data.recentlyActive
        return inflater.inflate(R.layout.fragment_category,container,false)
    }
}
